Integrand size = 23, antiderivative size = 246 \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\arcsin (c x)\left |-\frac {e}{c^2 d}\right .\right )}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}+\frac {b \left (c^2 d+e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}} \operatorname {EllipticF}\left (\arcsin (c x),-\frac {e}{c^2 d}\right )}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \]
[Out]
Time = 0.18 (sec) , antiderivative size = 246, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.478, Rules used = {270, 5346, 12, 486, 21, 434, 438, 437, 435, 432, 430} \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}+\frac {b x \sqrt {1-c^2 x^2} \left (c^2 d+e\right ) \sqrt {\frac {e x^2}{d}+1} \operatorname {EllipticF}\left (\arcsin (c x),-\frac {e}{c^2 d}\right )}{d \sqrt {c^2 x^2} \sqrt {c^2 x^2-1} \sqrt {d+e x^2}}-\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\arcsin (c x)\left |-\frac {e}{c^2 d}\right .\right )}{d \sqrt {c^2 x^2} \sqrt {c^2 x^2-1} \sqrt {\frac {e x^2}{d}+1}}+\frac {b c \sqrt {c^2 x^2-1} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}} \]
[In]
[Out]
Rule 12
Rule 21
Rule 270
Rule 430
Rule 432
Rule 434
Rule 435
Rule 437
Rule 438
Rule 486
Rule 5346
Rubi steps \begin{align*} \text {integral}& = -\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}+\frac {(b c x) \int \frac {\sqrt {d+e x^2}}{d x^2 \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}} \\ & = -\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}+\frac {(b c x) \int \frac {\sqrt {d+e x^2}}{x^2 \sqrt {-1+c^2 x^2}} \, dx}{d \sqrt {c^2 x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {(b c x) \int \frac {-e+c^2 e x^2}{\sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{d \sqrt {c^2 x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {(b c e x) \int \frac {\sqrt {-1+c^2 x^2}}{\sqrt {d+e x^2}} \, dx}{d \sqrt {c^2 x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {\left (b c^3 x\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {-1+c^2 x^2}} \, dx}{d \sqrt {c^2 x^2}}+\frac {\left (b c \left (c^2 d+e\right ) x\right ) \int \frac {1}{\sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \, dx}{d \sqrt {c^2 x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {\left (b c^3 x \sqrt {1-c^2 x^2}\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {1-c^2 x^2}} \, dx}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2}}+\frac {\left (b c \left (c^2 d+e\right ) x \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{d \sqrt {c^2 x^2} \sqrt {d+e x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {\left (b c^3 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2}\right ) \int \frac {\sqrt {1+\frac {e x^2}{d}}}{\sqrt {1-c^2 x^2}} \, dx}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}+\frac {\left (b c \left (c^2 d+e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \\ & = \frac {b c \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}}{d \sqrt {c^2 x^2}}-\frac {\sqrt {d+e x^2} \left (a+b \sec ^{-1}(c x)\right )}{d x}-\frac {b c^2 x \sqrt {1-c^2 x^2} \sqrt {d+e x^2} E\left (\arcsin (c x)\left |-\frac {e}{c^2 d}\right .\right )}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {1+\frac {e x^2}{d}}}+\frac {b \left (c^2 d+e\right ) x \sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}} \operatorname {EllipticF}\left (\arcsin (c x),-\frac {e}{c^2 d}\right )}{d \sqrt {c^2 x^2} \sqrt {-1+c^2 x^2} \sqrt {d+e x^2}} \\ \end{align*}
Time = 1.85 (sec) , antiderivative size = 143, normalized size of antiderivative = 0.58 \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\frac {\sqrt {d+e x^2} \left (-a+b c \sqrt {1-\frac {1}{c^2 x^2}} x-b \sec ^{-1}(c x)\right )}{d x}-\frac {b c e \sqrt {1-\frac {1}{c^2 x^2}} x \sqrt {1+\frac {e x^2}{d}} E\left (\arcsin \left (\sqrt {-\frac {e}{d}} x\right )|-\frac {c^2 d}{e}\right )}{d \sqrt {-\frac {e}{d}} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \]
[In]
[Out]
\[\int \frac {a +b \,\operatorname {arcsec}\left (c x \right )}{x^{2} \sqrt {e \,x^{2}+d}}d x\]
[In]
[Out]
none
Time = 0.11 (sec) , antiderivative size = 107, normalized size of antiderivative = 0.43 \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=-\frac {{\left (b c d \operatorname {arcsec}\left (c x\right ) - \sqrt {c^{2} x^{2} - 1} b c d + a c d\right )} \sqrt {e x^{2} + d} - {\left (b c^{4} d x E(\arcsin \left (c x\right )\,|\,-\frac {e}{c^{2} d}) - {\left (b c^{4} d + b e\right )} x F(\arcsin \left (c x\right )\,|\,-\frac {e}{c^{2} d})\right )} \sqrt {-d}}{c d^{2} x} \]
[In]
[Out]
\[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\int \frac {a + b \operatorname {asec}{\left (c x \right )}}{x^{2} \sqrt {d + e x^{2}}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
\[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\int { \frac {b \operatorname {arcsec}\left (c x\right ) + a}{\sqrt {e x^{2} + d} x^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \sec ^{-1}(c x)}{x^2 \sqrt {d+e x^2}} \, dx=\int \frac {a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )}{x^2\,\sqrt {e\,x^2+d}} \,d x \]
[In]
[Out]